import  http from '@/utils/http';

export async function getSystemMenu(params) {
  return http.get('/getSystemMenu',params)
}

export async function editSystemPlatformInfo(params) {
  return http.post('/editSystemPlatformInfo',params)
}

export async function getSystemPlatformInfo(params) {
  return http.get('/getSystemPlatformInfo',params)
}

export async function getTenantPlatformSetting(params) {
  return http.get('/sys/tenant/platformSetting',params)
}

export async function editUpdateAgreement(params) {
  return http.post('/updateAgreement',params)
}

export async function getAgreementInfo(params) {
  return http.get('/agreement/info',params)
}

//协议管理
export async function agreementList(params) {
  return http.get('/agreement/list',params)
}

export async function agreementAdd(params) {
  return http.post('/agreement/add',params)
}

export async function defaultAgreementInfo(params) {
  return http.get('/agreement/info',params)
}

export async function defaultAgreementAdd(params) {
  return http.post('/updateAgreement',params)
}

export async function agreementInfo(params) {
  return http.get('/agreement/detail',params)
}

export async function agreementRecords(params) {
  return http.get('/agreement/signRecord',params)
}

export async function agreementRelease(params) {
  return http.get('/agreement/release',params)
}

export async function agreementUpdate(params) {
  return http.post('/agreement/edit',params)
}

export async function agreementCommentEdit(params) {
  return http.post('/agreement/comment',params)
}